class Father:
    def f1(self):
        self.f2()
        print("f1")
    def f2(self):
        print("f2")

class Son(Father):
    def f2(self):
        print("s2")

a = Son()
a.f1()
